package com.ruoyi.iot.domain.emun;


import lombok.Getter;

/**
 * 后期再支持long和double等等
 */
@Getter
public enum PropertyType {
    //double 和 long 还有无符号数字等后续再扩展
    BOOL("布尔","bool"),
    TEXT("字符串","text"),
    INT32("整数","int32"),
    FLOAT("小数","float"),
    STRUCT("结构体","struct"),//json对象
    ARRAY("数组","array"),
    ENUM("枚举","enum"),
    POINT("坐标","point"),
    DATE("时间","date");

    private final String name;
    private final String value;

    PropertyType(String name,String value) {
        this.name = name;
        this.value = value;
    }

}